Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Azure Clients #26

Merged
merged 16 commits into from
Nov 6, 2018

Conversation

marwanad
Copy link
Member

Closes #20.

@@ -151,19 +136,6 @@ func (azure *AzureClient) Create(cluster *clusterv1.Cluster, machine *clusterv1.
// Update an existing machine based on the cluster and machine spec passed.
// Currently only checks machine existence and does not update anything.
func (azure *AzureClient) Update(cluster *clusterv1.Cluster, goalMachine *clusterv1.Machine) error {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tracked here: #27

@@ -15,80 +15,118 @@ package machine
import (
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test coverage for the actuator is around: 53% - I'll add more unit tests to increase coverage

@vannrt
Copy link
Contributor

vannrt commented Oct 31, 2018

@marwanad I've merged #25 Can you rebase your changes?

@marwanad marwanad force-pushed the refactor-azure-clients branch from 7257702 to 76be01c Compare October 31, 2018 20:16
@marwanad
Copy link
Member Author

@vannrt done the rebase

easier to filter azure resources tied to a machine
vannrt
vannrt previously approved these changes Nov 2, 2018
Copy link
Contributor

@vannrt vannrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

cloud/azure/actuators/machine/machineactuator.go Outdated Show resolved Hide resolved
@vannrt vannrt merged commit 67de789 into kubernetes-sigs:master Nov 6, 2018
marwanad added a commit to marwanad/cluster-api-provider-azure that referenced this pull request Nov 6, 2018
* add interfaces for deployment operations

* implement deployments azure client

* replace machine create with the new azure clients

* remove machine update placeholder

* replace exists with the new clients

* remove unused methods in the machine actuator

* add getting public ip address to the networks interface

* cleanup machine actuator

* remove unused params and methods in the actuators

* remove old clients tests

* update machine actuator tests

* remove wrappers package

* tag created resources by machine name

easier to filter azure resources tied to a machine

* fix typo

* re-add GetIP method

* move loading the environment variables to the actuator manager
luthermonson pushed a commit to luthermonson/cluster-api-provider-azure that referenced this pull request Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants